package com.sxkf.template.vo.response.cart;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class QueryUserCartVO {
    @ApiModelProperty(value = "购物车id")
    private String id;

    @ApiModelProperty(value = "商品数量")
    private Integer count;

    @ApiModelProperty(value = "店铺id")
    private String storeId;

    @ApiModelProperty(value = "商品id")
    private String productId;

//    @ApiModelProperty(value = "商品主图")
//    private String mainImage;

    @ApiModelProperty(value = "商品主图")
    private String imageUrl;

    @ApiModelProperty(value = "商品名")
    private String name;

    @ApiModelProperty(value = "拼团所需人数")
    private Integer needCount;

    @ApiModelProperty(value = "商品规格")
    private String specAttribute;

    @ApiModelProperty(value = "销售价格")
    private BigDecimal salePrice;

    @ApiModelProperty(value = "总价")
    private BigDecimal totalPrice;
}
